/* .........................................Fonts............................................ */

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css");

@font-face {
  font-family: "vazir", sans-serif;
  src: url("../Fonts/vazir-font-v16.1.0/Vazir-bold.woff2") format("woff2"),
    url("../Fonts/vazir-font-v16.1.0/Vazir-bold.woff") format("woff"),
    url("../Fonts/vazir-font-v16.1.0/Vazir-bold.ttf") format("truetype");
}

/* ...............................Clear default code site.................................... */

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
/* ...............................variable................................................... */
:root {
  --color-bg1: #343a40;
  --color-bg2: #495057;
  --color-yellow: #eeef20;
  --color-purple: #7b2cbf;
  --color-bk3: #f8f9fa;
  --color-border-cuter: #005f73;
  --color-white: #fff;
  --font-family: "vazir", sans-serif;
  --radius: 0.6rem;
  --transition-btn: all 0.3s linear;
}
/* .............................general style................................................ */
body {
  font-family: var(--font-family);
  background: var(--color-bg1);
  color: var(--color-white);
  text-align: right;
  font-size: 1rem;
}

a {
  text-decoration: none;
}
img {
  display: block;
  width: 100%;
}

h1 {
  font-size: 1.6rem;
}
h4 {
  font-size: 1rem;
  font-weight: 500;
}
p {
  font-size: 1rem;
}
.clearfix::after,
.clearfix::before {
  content: "";
  clear: both;
  display: block;
}
@media screen and (min-width: 800px) {
  h1 {
    font-size: 2.5rem;
  }
  p {
    font-size: 1.3rem;
  }
  h4 {
    font-size: 1.45rem;
    font-weight: 500;
  }
}
@media screen and (min-width: 576px) {
  .article {
    float: right;
    width: 33.33333%;
  }
}
/* @media screen and (min-width: 1200px) {
    .article {

        float: right;
        width: 33.33333%;
    }
  
  } */
@media screen and (min-width: 992px) {
  .section-center {
    width: 93vw;
  }
  .about {
    float: left;
    width: 50%;
  }
  .about-info {
    float: right;
    width: 50%;
  }
}

.btn {
  background-color: var(--color-purple);
  padding: 0.6rem 1.7rem 0.7rem 1.7rem;
  border-radius: var(--radius);
  color: var(--color-bk3);
  transition: var(--transition-btn);
  display: inline-block;
  margin-top: 1rem;
}

.btn:hover {
  /* padding: 0.8rem 1.9rem 0.9rem 1.9rem; */
  transform: scale(1.08);
  background: var(--color-bk3);
  color: var(--color-purple);
}
.section-center {
  padding: 2rem 0;
  width: 85vw;
  margin: 0 auto;
  max-width: 1200px;
}
.section-title {
  margin-bottom: 2rem;
}
.section-title h3 {
  color: var(--color-yellow);
}
/* 
...........................................
Animation style
...........................................
*/
@keyframes bounce {

    0% {
     transform: scale(1);
    }
    50% {
      transform: scale(1.5);
  
    }
    100% {
      transform: scale(1);
    }
}
@keyframes slidefromtop {
  
  0% {

    transform: translateY(-25px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }

}
@keyframes slidefrombottom {
  
  0% {

    transform: translateY(+25px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }

}
/* 
...........................................
navbar style
...........................................
*/
.nav-btn {
  padding-right: 0.5rem;
  color: var(--color-bk3);
  font-size: 2rem;
  position: fixed;
  top: 2.5%;
  right: 2.5%;
  cursor: pointer;
  z-index: 1;
  animation: bounce 2s ease infinite;
}
.navbar {
  height: 100%;
  width: 60vw;
  border-top-left-radius: var(--radius);
  border-bottom-left-radius:var(--radius) ;
  direction: rtl;
 color: var(--color-bg1);
  position: fixed;
  top: 0;
  right: 0;
  font-size: 1.25rem;
  background: var(--color-bk3);
  z-index: 2;
  list-style-type: none;
  transform: translateX(100%);
  box-shadow: -6px 0 2vb rgba(0, 0, 0, 0.747);
  transition: var(--transition-btn);
}
.showNav{

  transform: translate(0);
}
.nav-close{
  display: inline-block;
}
.nav-link {
  color: var(--color-bg1);
  transition: var(--transition-btn);
  display: inline-block;
  padding: 1rem;
}
.nav-link i {

  font-size: 1.55rem;
}
.nav-link:hover{
  text-shadow: 5px 5px 1vb var(--color-purple);
  transform: translateX(-8px);
  color: black;
  padding-right: 1rem;
}
.nav-link i {
  margin-left: 0.5rem;
}
.navbar-header {
  text-align: left;
}
.nav-close {
  font-size: 1.75rem;
  padding: 0.5rem 1rem;
  color: var(--color-bg1);
  cursor: pointer;
}
.nav-close:hover {
  color: #bb2525;
 
}
@media screen and (min-width: 768px) {
  .navbar {
    width: 30vw;
    max-width: 20rem;
    
  }
}
/* 
...........................................
header style
...........................................
*/

.header {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.8)),
    url(../Image/clement-falize-UzZhBohuFXo-unsplash.jpg) center/cover no-repeat
      fixed;
  position: relative;
}
.banner {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  /* border: solid 2px red; */
  transform: translate(-50%, -50%);
  text-align: center;
}

.banner h1 {
  margin-bottom: 2rem;
  padding: 0px 10px;
  animation: slidefromtop 1.5s ease-in-out 1;
}

.banner h2 {

  margin-bottom: 3rem;
  padding: 0rem 0.5rem;
  animation: slidefrombottom 2s ease-in-out 1;
}

.btn-banner {
  font-size: 1rem;
}
/* ...............................End of header................................................... */

/* ...............................div cutter...................................................... */
.div-cuter {
  height: 0.5rem;
  background: linear-gradient(
    to left,
    var(--color-purple),
    var(--color-white),
    var(--color-purple),
    var(--color-border-cuter),
    var(--color-white),
    var(--color-purple)
  );
}
/* ...............................div cutter...................................................... */

/* 
...........................................
section-1 style
...........................................
*/
.section-1 {
  background: var(--color-bg2);
}
.article {
  background: var(--color-bg2);
  text-align: center;
  padding: 2rem 0;
  transition: var(--transition-btn);
  box-shadow: 0px 10px 2vb var(--color-purple);
}
.article:hover {
  background: var(--color-border-cuter);
  box-shadow: -1px 10px 5px var(--color-purple);
}
.article:hover .icon-article {
  transform: translateY(-5px);
}
.icon-article {
  font-size: 2.5rem;
  color: var(--color-yellow);
  margin-bottom: 1.25rem;
  display: inline-block;
  transition: var(--transition-btn);
}
.game-information {
  margin-bottom: 1rem;
  word-spacing: 0.2rem;
  font-family: "Courier New", Courier, monospace;
}
.game-title,
.game-ranking {
  font-family: Arial, Helvetica, sans-serif;
}
/* 
...........................................
aboute style
...........................................
*/
.about,
.about-info {
  padding: 2rem 0rem;
}
.about-div-image {
  background: var(--color-border-cuter);
  border: solid 0.3rem var(--color-purple);
  border-radius: var(--radius);
  max-width: 40rem;
  overflow: hidden;
}
.about-picture {
  transition: var(--transition-btn);
}
.about-picture:hover {
  transform: scale(1.1);
  opacity: 0.5;
}
.section-title h2 {
  padding-top: 0.5rem;
  font-weight: 300;
}
.text-about {
  padding: 0.5rem;
}
/* 
...........................................
Products style
...........................................
*/
.products {
  background: var(--color-bg2);
}
.products article {
  border-radius: 1rem ;
  padding: 2rem 0rem;
}
.products-title h3 {
  margin-bottom: 1rem;
  font-size: x-large;
}
.products-title h2 {
  color: var(--color-purple);
  text-shadow: 0px 0px 10px var(--color-bk3);
  margin: 1rem 0.5rem;
  font-size: xx-large;
}
.products-info p {
  padding-bottom: 0.5rem;
  font-family: Arial, Helvetica, sans-serif;
  max-width: 35rem;
  margin-left: auto;
  transition: var(--transition-btn);
}
.products-info .products-text:hover {
  transform: translateX(-10px);
}
.product .product-img {
  border-radius: var(--radius);
  margin-bottom: 1rem;
  height: 20rem;
  object-fit: cover;
  transition: var(--transition-btn);
  box-shadow: 1px 1px 1vb rgba(255, 255, 255, 0.347);
}
.product .products-title {
  padding: 0.5rem 0;
  font-size: x-large;
  font-family: Arial, Helvetica, sans-serif;
}
.product .products-price {
  padding: 0rem 1rem;
  padding-bottom: 1rem;
  font-size: large;
  color: greenyellow;
  text-shadow: 1px 1px 3px var(--color-bk3);
}
@media screen and (min-width: 768px) {
  .product {
    float: right;
    width: 50%;
    padding-left: 2rem;
  }
}
@media screen and (min-width: 992px) {
  .product {
    width: 33.3%;
  }
}
@media screen and (min-width: 1200px) {
  .products-info {
    float: right;
    width: 30%;
  }
  .product-cards {
    float: left;
    width: 70%;
  }
  .product {
    padding-left: 0;
    /* margin-bottom: 0rem; */
    padding-right: 2rem;
  }
}
.product:hover .product-img {
  transform: scale(1.02);
  border-radius: var(--radius);
  box-shadow: 1px 1px 2vb rgba(255, 255, 255, 0.647);
}
/* 
...........................................
Services style
...........................................
*/
.Service-title {
  text-align: center;
}
.Service-title h2 {
  width: 25rem;
  
  margin: auto;
  font-size: large;
}
.Service-cards {
  background: var(--color-bg2);
  margin: 2rem 0;
  border-radius: var(--radius);
  box-shadow: 0 2px 1.5vb rgba(255, 255, 255, 0.447);
  transition: var(--transition-btn);
}
.Service-cards:hover {
  box-shadow: 0 2px 3vb rgba(255, 255, 255, 0.747);
  transform: scale(1.02);
}
.Service-picture {
  height: 16rem;
  object-fit: cover;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}
.Service-info {
  text-align: center;
  padding: 3rem 1.1rem 2.5rem 1.1rem;
}
.Service-info h4 {
  color: var(--color-bk3);
  max-width: 20rem;
  margin: 0 auto;
  font-size: x-large;
  padding-bottom: 0.5rem;
  text-shadow: 1px 1px 1.5vb var(--color-border-cuter);
  border-bottom: solid 0.5px var(--color-bk3);
  margin-bottom: 1rem;
}
.Service-info p {
  margin: 0rem auto;
  max-width: 19rem;
}
.Service-btn {
  margin-top: 1.8rem;
}
@media screen and (min-width: 768px) {
  .Service-cards {
    float: right;
    width: 45%;
    margin-left: 5%;
  }
}
@media screen and (min-width: 992px) {
  .Service-cards {
    width: 30%;
    margin-left: 3.33%;
  }
}
.Service {
  position: relative;
}
.Service-icon {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 6rem;
  background: var(--color-bk3);
  transform: translate(-50%, 50%);
  border-radius: 50%;
  border: 0.5rem solid var(--color-bg2);
}
/* 
...........................................
Countact us style
...........................................
*/
.Countact {
  background: var(--color-bg2);
}
.Countact article {
  margin: 2.5rem auto;
}
.Countact-info {
  margin-bottom: 1rem;
}
.Countact-title {
  color: var(--color-bk3);
  font-size: 1.5rem;
  margin: 1rem;
  margin-top: 2rem;
  direction: ltr;
}
.Countact-icon img {
  width: 1.8rem;
  height: 1.8rem;
  display: inline;
}
.Countact-title .Countact-icon {
  margin-right: -1.5rem;
}
.Countact-text {
  margin-bottom: 1.5rem;
  color: black;
  text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.747);
}
.Countact-item {
  text-align: center;
  border-bottom: solid 0.2px var(--color-white);
  margin: auto;
  width: 23rem;
}
.Countact-form {
  margin: auto;
  text-align: center;
  background: var(--color-bg1);
  border-radius: var(--radius);
  transition: var(--transition-btn);
  box-shadow: 0px 2px 1vb rgba(255, 255, 255, 0.447);
  padding: 1;
  max-width: 35rem;
  height: 30rem;
}
.Countact-form:hover {
  box-shadow: 0px 2px 1.5vb rgba(255, 255, 255, 0.601);
  transform: scale(1.005);
}
.form-control {
  border: none;
  padding: 0.5rem;
  border-radius: 0.4rem;
  display: block;
  width: 87%;
  margin: 0.7rem auto;
  transition: var(--transition-btn);
}
.form-control:hover {
  width: 90%;
  transform: scale(1.05);
}
.submit-btn {
  width: 85%;
  border: none;
  margin: 0.7rem auto;
}
.Countact-form h4 {
  padding: 1rem 0;
  font-size: 1.5rem;
}
@media screen and (min-width: 992px) {
  .Countact article {
    float: right;
    width: 50%;
  }
}
/* 
...........................................
footer style
...........................................
*/
.footer {
  background-color: #ddc9b4;
  text-align: center;
}
.footer-text {
  font-family: var(--font-family);
  text-align: center;
  color: var(--color-bg2);
  padding: 1rem;
  display: block;
  /* border-bottom: solid 1px var(--color-bg2); */
}
.footer-icon {
  color: var(--color-bg1);
  font-size: 2rem;
  font-weight: 800;
  margin: 1rem;
  display: inline-block;
  transition: var(--transition-btn);
}
.footer-icon:hover {
  color: #7b2cbf;
  transform: translateY(-5px);
}
